home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / DCLAP 6d / dclap6d / network / ncsasock / dprintf.c < prev    next >
Text File  |  1996-07-05  |  766b  |  32 lines

  1. /*
  2.  * BSD-style socket emulation library for the Mac
  3.  * Original author: Tom Milligan
  4.  * Current author: Charlie Reiman - creiman@ncsa.uiuc.edu
  5.  *
  6.  * This source file is placed in the public domian.
  7.  * Any resemblance to NCSA Telnet, living or dead, is purely coincidental.
  8.  *
  9.  *      National Center for Supercomputing Applications
  10.  *      152 Computing Applications Building
  11.  *      605 E. Springfield Ave.
  12.  *      Champaign, IL  61820
  13.  */
  14.  
  15. /*
  16.  * dprintf - 
  17.  *  debugging printf. Most of the debugging code is in disrepair, use
  18.  *  with caution. 
  19.  */
  20.  
  21. #include <stdio.h>
  22. #include <StdArg.h>
  23.  
  24. void dprintf(char *fmt,...)
  25. {
  26.     va_list    nextArg;
  27.     
  28.     va_start(nextArg,fmt);
  29.     
  30.     (void) vfprintf(stderr,fmt,nextArg);
  31.     va_end(nextArg);   /* this is actually a null macro */
  32. }